package isjinhao.jlox.grammar;

import isjinhao.jlox.lexical.TokenSequence;

/**
 * @Author ISJINHAO
 * @Date 2021/2/24 17:24
 */
public abstract class Parser<T> {

    protected final TokenSequence tokenSequence;

    protected Parser(TokenSequence tokenSequence) {
        this.tokenSequence = tokenSequence;
    }

    public abstract T parse();

}
